package cn.ad.server.web.service;

import cn.ad.server.domain.ad.AppUser;
import cn.ad.server.persistence.UserRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author dongbin.yu
 * @from 2016-06-06
 * @since V1.0
 */
@Service
public class UserService {

    @Autowired
    private UserRepository userRepository;

    public Map<String, AppUser> findMapAppUser() {
        return userRepository.findMapAppUser();
    }

}
